﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoVanHocTapData.Interface;
using CoVanHocTapData.Entities;

namespace CoVanHocTapData.Concretes
{
    public class MenuRepository:IMenuRepository
    {
        DangKyPhuEntities entities = new DangKyPhuEntities();


        public bool KiemTraChoPhepDKMHTheoKHHT()
        {
            return (from m in entities.Menus
                   where m.MenuID == "DKMHTheoKHHT"
                   select m.Show.Value).FirstOrDefault();
        }
    }
}
